package designpattern.create.factory.simplefactory;

/**
 * 简单工厂模式，在工厂里写逻辑生产不同的几种产品
 */
public class Customer {
    public static void main(String[] args) {
        Factory factory = new Factory();
        BMW bmw320 = factory.createBmw(320);
        BMW bmw523 = factory.createBmw(523);
    }
}
